home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / PRG / Prograph Reference Manual.sit / Prograph Reference Manual / Prograph Reference 8-End.rsrc / TEXT_132.txt < prev    next >
Text File  |  1995-10-26  |  4KB  |  346 lines

  1.  Chapter 8
  2.  
  3.  Pictopedia
  4.  
  5.  t Classes Window  *425*
  6.  
  7.  t Attributes Window
  8.  
  9.  t Methods Windows
  10.  
  11.  t Persistents Window
  12.  
  13.  t Case Window
  14.  
  15.  t Stack Window
  16.  
  17.  t Execution Case Window
  18.  
  19.  t Operation Icons - See next section
  20.  
  21. Prograph is a fully visual programming language. Its icons represent the various types of programming elements, such as classes, attributes, persistents, and the different categories of operations. This chapter catalogues all the program elements that can appear in the Prograph editor windows. For each element, the title contains the name of the element or window and the menu item to either draw the element icon or open the window.
  22.  
  23. Textual content and explanation is kept to a minimum in this chapter. Think of this chapter as a 窶徇ug shot窶 album to help you identify Prograph windows and the things you might see in them. With a 窶徭uspect窶 identified, you can use the index and table of contents of this manual to locate additional information about the meaning and use of any element represented here.  *426*
  24.  
  25. t    
  26.  
  27. ツ 
  28.  
  29.  
  30.  
  31.  
  32. ツ 
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47. ツ 
  48.  
  49.  
  50.  
  51.  
  52. The class icon in the Classes window is hexagonal and is divided into left and right halves corresponding to its two components, namely Attributes and Methods. *427*
  53.  
  54. ツ 
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75. System classes are differentiated from user-defined classes by a thick double line along their bottom edge.
  76.  
  77. Selected objects in Prograph are displayed in reverse video (red on a color monitor). For example, the class Car is a selected object in the Classes window above.  *428*
  78.  
  79. t    
  80.  
  81. ツ 
  82.  
  83.  
  84.  
  85. ツ 
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99. Attributes can be either Class attributes or Instance attributes. In turn, these can either be user-defined or system defined.
  100.  
  101. System Attributes
  102.  
  103. ツ 
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110. Like System class icons, System class attribute icons are visually distinguished from user-defined attributes by a double line.  *429*
  111.  
  112. ツ 
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120. A downward arrow within an attribute icon, it indicates that the attribute is inherited. 
  121.  
  122.  
  123. User-defined Attributes
  124.  
  125. ツ 
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132. ツ 
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141. ツ 
  142.  
  143.  
  144.  
  145.  
  146.  
  147. Prograph methods can be either universal or class-based, and are accessible accordingly.  
  148.  
  149. Universal methods are not 窶徙wned窶 by any class. Their icons are organized and accessible in the Universal Methods window.  *430*
  150.  
  151. ツ 
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168. A nonuniversal method must belong to one of the System or user-defined classes. The method窶冱 icon is located in the <className> Methods window of the class (named <className>) in which the method is defined.
  169.  
  170. ツ 
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180. In this window, the Car class has a mortgage method and engine a Get method.
  181.  
  182. Method icons that can appear in a <className> methods window are as follows (with their compact versions at right):   *431*
  183.  
  184. ツ 
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203. t    
  204.  
  205. ツ 
  206.  
  207.  
  208.  
  209. ツ 
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218. t    Case Window  *432*
  219.  
  220. ツ 
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241. Banner
  242.  
  243. ツ 
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255. Logo  *433*
  256.  
  257. The logo indicates the type of method that the case window displays:
  258.  
  259.  
  260. ツ        Simple
  261.  
  262. ツ         Initialization
  263.  
  264. ツ         Get 
  265.  
  266. ツ         Set 
  267.  
  268. ツ         Local
  269.  
  270. Class / Name
  271.  
  272. This indicates the name of the displayed method. The name of the class in which the method is defined is displayed first and is separated from the method name by a slash character. If the method is a universal method, no class name and slash character precede the method name.
  273.  
  274. Case List Button
  275.  
  276. The Case List button opens or closes the Case List pane. When option-clicked, it opens the parent method of a local.
  277.  
  278. Case List Pane  *434*
  279.  
  280. This horizontally scrolling iconic list pane appears at the bottom of the case window as shown:
  281.  
  282. ツ 
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300. A variety of mouse interactions within the Case List pane opens, reorders, creates, and deletes cases of the displayed method. If the case icons do not all fit in the visible area of the pane, the horizontal scroll bar activates to move left and right in the icon list.  *435*
  301.  
  302.  
  303. t    
  304. ツ 
  305.  
  306.  
  307. ツ 
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321. t    Execution Case Window  *436*
  322.  
  323. Double-clicking a method icon in the Stack window opens an execution case window that displays the current state of the case executing.
  324.  
  325. ツ 
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343. In addition to opening an execution case window from the Stack window, an execution window is displayed when a breakpoint is encountered or if you have options set for Step/Show mode. Double-clicking on the patterned background of the execution case window opens an editable case window on the displayed method. Option-clicking thecase list button opens the calling case.
  344.  
  345.